<?php if(!empty($user)){?>
<div class="sebelumjud">
        <div class="jodol"><?php echo $user['NAMA']?> —Position List<br/>
        <span class="role"><?php //echo $jabatan['NAMA_JABATAN']?></div>
<div id="panah">
    <a href="#" class="pre"><input onClick="location.href='<?php echo base_url().'progress/progress_con/personal_pos_self/'.$user['ID']?>'"  name="" type="button" class="send" value="Edit" /></a>
</div>
</div>

        <div class="clear"></div>
        <div id="jumat">
                <div id="last">
                    <a href="<?php echo base_url().'progress/progress_con/personal_listpos/'.$user['ID']?>">Posisition</a>
                    <a href="<?php echo base_url().'progress/progress_con/personal_bio/'.$user['ID']?>">Biodata</a>
                </div>
                <div id="pic"><img src="<?php if($user['FOTO']!='') echo $user['FOTO']; else echo base_url().'images/defpic.gif';?>" /></div>
                <div id="samping">
                        
                        <div class="jobdesc">
                                
                                        <?php    
                                            if(!empty($position)){
                                                echo '<span class="bioo">Jabatan Dipegang</span>
                                    <ul>';
                                                for($i=0;$i<count($position);$i++){
                                                    echo '<li><a href="'.base_url().'progress/progress_con/personal_pos/'.$position[$i]['ID_JABATAN'].'/'.$position[$i]['ID_USER'].'/'.$position[$i]['ID_DIVISI'].'">'.$position[$i]['NAMA_JABATAN'].'</a></li>';
                                                }
                                                echo '</ul>';
                                            }else echo 'Posisi belum terisi';
                                        ?>
                                    
                        </div>
                        <div class="clear"></div>
                </div><!---end div samping --->

        </div>
        <div class="clear"></div>
        <?php }?>